package com.xuecheng.content.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author luhao
 * @ClassName EditCourseDto.java
 * @Description 修改课程传参Dto
 * @createTime 2023/5/23
 */
@Data
@ApiModel(description = "修改课程传参Dto")
public class EditCourseDto  extends AddCourseDto{
    @ApiModelProperty(value = "课程id", required = true)
    @NotNull(message = "修改课程id不能为空")
    private Long id;


}
